<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/DO.Clustering" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/DO.Clustering" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import schemaLocation="http://xd2/SVC.Clustering/ClusteringService.svc?xsd=xsd3" namespace="http://schemas.datacontract.org/2004/07/DO.Workflows" />
  <xs:import schemaLocation="http://xd2/SVC.Clustering/ClusteringService.svc?xsd=xsd4" namespace="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <xs:complexType name="DocumentClusteringInstruction">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q1="http://schemas.datacontract.org/2004/07/DO.Workflows" base="q1:InstructionBase">
        <xs:sequence>
          <xs:element minOccurs="0" name="ConnStr" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DataField" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DocIDFieldFromSQL" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DocIDFieldInMappingTable" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DocTitleFieldFromSQL" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="MappingTable" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="OutputDB" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="PhraseFieldInTermTable" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ResultTable" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="SQL" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TaskName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TaskNameField" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TermDB" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TermFreqFieldInMappingTable" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TermIDFieldInMappingTable" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TermIDFieldInTermTable" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="TermTable" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="DocumentClusteringInstruction" nillable="true" type="tns:DocumentClusteringInstruction" />
  <xs:complexType name="DocumentClusteringOutput">
    <xs:complexContent mixed="false">
      <xs:extension xmlns:q2="http://schemas.datacontract.org/2004/07/DO.Workflows" base="q2:ResultBase">
        <xs:sequence>
          <xs:element xmlns:q3="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="AllTerms" nillable="true" type="q3:ArrayOfKeyValueOfintstring" />
          <xs:element xmlns:q4="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ClusterDiameters" nillable="true" type="q4:ArrayOfKeyValueOfintdouble" />
          <xs:element xmlns:q5="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ClusterLabels" nillable="true" type="q5:ArrayOfKeyValueOfintstring" />
          <xs:element xmlns:q6="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="ClusteredDocs" nillable="true" type="q6:ArrayOfKeyValueOfintArrayOfintty7Ep6D1" />
          <xs:element xmlns:q7="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="DocDocDistances" nillable="true" type="q7:ArrayOfKeyValueOfintArrayOfKeyValueOfintdoublety7Ep6D1" />
          <xs:element xmlns:q8="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="DocTermFreqs" nillable="true" type="q8:ArrayOfKeyValueOfintArrayOfKeyValueOfintintty7Ep6D1" />
          <xs:element xmlns:q9="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="DocTitles" nillable="true" type="q9:ArrayOfKeyValueOfintstring" />
          <xs:element minOccurs="0" name="TaskName" nillable="true" type="xs:string" />
          <xs:element xmlns:q10="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="TermTermDistances" nillable="true" type="q10:ArrayOfKeyValueOfintArrayOfKeyValueOfintdoublety7Ep6D1" />
          <xs:element xmlns:q11="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="TermWeights" nillable="true" type="q11:ArrayOfKeyValueOfintdouble" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="DocumentClusteringOutput" nillable="true" type="tns:DocumentClusteringOutput" />
</xs:schema>